package com.pmpd.activity.controller.background.param;

import java.io.Serializable;

/**
 * \* User: helei
 * \* Date: 19/05/18
 * \* Description:
 * \
 */
public class BgHotActivityParam extends BgHotActivityParamList implements Serializable {
    private String appId;//主键id
    private String projectId;//app编号，eg: AP001

    public BgHotActivityParam(BgHotActivityParamList param) {
        this.setId(param.getId());
        this.setTitle(param.getTitle());
        this.setDescription(param.getDescription());
        this.setUrl(param.getUrl());
        this.setBeginTime(param.getBeginTime());
        this.setEndTime(param.getEndTime());
        this.setValidity(param.getValidity());
        this.setTagIdList(param.getTagIdList());
        this.setBannerUrl(param.getBannerUrl());
        this.setUsable(param.getUsable());
        this.setReadNumber(param.getReadNumber());
        this.setPriority(param.getPriority());
        this.setHotActivityType(param.getHotActivityType());
        this.setJumpType(param.getJumpType());
        this.setVersion(param.getVersion());
        this.setInnerJumpPage(param.getInnerJumpPage());
        this.setInnerJumpParam(param.getInnerJumpParam());
        this.setAppJumpName(param.getAppJumpName());
        this.setAppJumpParam(param.getAppJumpParam());
        this.setLang(param.getLang());
        this.setCompanyId(param.getCompanyId());
        this.setCreatorId(param.getCreatorId());
        this.setEditorId(param.getEditorId());
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }
}